package com.augurit.gzcgwsp.ywcmn.service;

import java.util.Map;

import com.augurit.common.base.service.ICrudService;
import com.augurit.gzcgwsp.ywcmn.entity.YwComQyxxTwo;
import com.augurit.gzcgwsp.ywcmn.web.form.YwComQyxxTwoForm;

public interface IYwComQyxxTwoService extends ICrudService<YwComQyxxTwoForm, Long> {
    public YwComQyxxTwoForm getFormBySqdwTwo(String sqdwTwo,String tempcode);
    public YwComQyxxTwoForm getFormBySqdwTwo(String sqdwTwo);
    public void update(YwComQyxxTwoForm form);
    public void updateYwComQyxx(YwComQyxxTwoForm form);

    /**
     * 查询中间企业信息
     * @param qyid
     * @param acceptNo
     * @return
     */
    public YwComQyxxTwo getYwComQyxx(Long qyid, String acceptNo);

    public void saveEntity(YwComQyxxTwo entity);

    /**
     * 查询出所有的企业信息
     * @return
     */
	public Map<Long, String> getQyxx();

	public Long saveEnterpriseInfo(YwComQyxxTwoForm form);

	/**
	 * 查询企业
	 * @param qyname 企业名称
	 * @param tempcode 业务编码
	 * @return
	 */
	public YwComQyxxTwo getEntity(String qyname, String tempcode);
    
}